<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BrokenIRC: include/server.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BrokenIRC
   &#160;<span id="projectnumber">0.0.42</span>
   </div>
   <div id="projectbrief">A &#39;not so functionnal&#39; irc server and a WIP client</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">server.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="server_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">** EPITECH PROJECT, 2018</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">** MY_FTP</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">** File description:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">** my_ftp server header file</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef SERVER_H_</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"># define SERVER_H_</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">        #include &lt;stdio.h&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">        #include &lt;netdb.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">        #include &lt;string.h&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">        #include &lt;sys/socket.h&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">        #include &lt;sys/epoll.h&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="server_8h.html#aeefbbafa97642defe3ee6c3080b7d66f">   20</a></span>&#160;<span class="preprocessor">        #define BACKLOG 5</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="server_8h.html#a9880cfe1f4eb3140da2095fd081282f5">   22</a></span>&#160;<span class="preprocessor">        #define REF_NB 15</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="server_8h.html#a6821bafc3c88dfb2e433a095df9940c6">   24</a></span>&#160;<span class="preprocessor">        #define BUF_SIZE 1060</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="server_8h.html#ae42954bb8545d24e3e9dcde5920c9a0b">   27</a></span>&#160;<span class="preprocessor">        #define MAX_EVENTS 10</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="server_8h.html#a2b38553235fff093729b446c1e46231c">   29</a></span>&#160;<span class="preprocessor">        #define MAXCHAN 1000</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="server_8h.html#adeb606407e063430174e4903a0d80c2b">   31</a></span>&#160;<span class="preprocessor">        #define MAXCHANNAME 50</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="server_8h.html#a41101847771d39a4f0a7f9395061c629">   35</a></span>&#160;<span class="preprocessor">        #define MAXARGS 15</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="server_8h.html#ab0122c358494825a5050009adfff9fc0">   39</a></span>&#160;<span class="preprocessor">        #define MAXARGSIZE 33</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">   44</a></span>&#160;        <span class="keyword">typedef</span> <span class="keywordtype">char</span> ** <a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="server_8h.html#a2b912ed39df233b43d7a093814705afb">   46</a></span>&#160;<span class="preprocessor">        #define EVER ;;</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581f">   53</a></span>&#160;        <span class="keyword">enum</span>  <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581f">CMDS</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fae2d30a195cee6b2961cc2c23ea4b520b">   54</a></span>&#160;                <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa4925a399dab94b9b58f6d1b5cd246af7">JOIN</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa3e724a44d5e55b043a1c6ba83aa08bea">NICK</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa3a95ef902bc659901cceef98e0bc8041">PING</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fae2d30a195cee6b2961cc2c23ea4b520b">USER</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa76bdc8adfd6c6463ab269ff4c06be9b4">QUIT</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa67c96b24b23bcb408bae7626730a04b7">SERVER</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa173f98c603042f6241b70157d56e385f">PART</a>,</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa2009451f58075e636458d7149da4488a">   55</a></span>&#160;                <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa2009451f58075e636458d7149da4488a">USERS</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581faa96582524abaa2ba9ee6ba926dee5262">NAMES</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa5946189c2ff16a177f8d6266b96ea30e">ACCEPTF</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa7bdf7243edf3c972e0fbc08bd0d4079d">MSGAB</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa4b92970b3bad368ef6b6e73b315a4755">MSGABC</a>,</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa610966c21da939ce3972c0498c6485bb">   56</a></span>&#160;                <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa21043ddfa5289b4cf14cd4e3f5a89b62">QUERY</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581faf88e46564f67a88a18b9ba3af5792b02">ME</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581faed8762ff982b982ce3d67f81ab34f1d4">NOTICE</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa42673ce977a9b34eef83a0611f1a2730">WHOIS</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa610966c21da939ce3972c0498c6485bb">WHOWAS</a>,</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa552dbfc018bbff8b37c76efea76ca893">   57</a></span>&#160;                <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581facb351e08d637347c1132ba8a73f0c812">DNS</a>, <a class="code" href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa552dbfc018bbff8b37c76efea76ca893">KICK</a></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        };</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="comment">/* Future login handler filepath (to be set in a .conf file) */</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84f">   61</a></span>&#160;        <span class="keyword">enum</span>  <a class="code" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84f">LPATHS</a> {</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84fa43874547248ac14adee50ee06f31e909">   62</a></span>&#160;                <a class="code" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84fa43874547248ac14adee50ee06f31e909">ACCESS</a>,</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84fa3dd2c95c6f5060be15bf596d2a012034">   63</a></span>&#160;                <a class="code" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84fa3dd2c95c6f5060be15bf596d2a012034">ERRORS</a>,</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84faa4c3e403340be8ad2c8b1a70534adb12">   64</a></span>&#160;                <a class="code" href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84faa4c3e403340be8ad2c8b1a70534adb12">NOTICES</a></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        };</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structt__log.html">   71</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct                  </span>s_log {</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structt__log.html#a5a62ab56fc81e156e3faee2900b06b2f">   72</a></span>&#160;                FILE            *<a class="code" href="structt__log.html#a5a62ab56fc81e156e3faee2900b06b2f">errlog</a>;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structt__log.html#ae973c89e7a33bbef3306186e70ea1e95">   73</a></span>&#160;                FILE            *<a class="code" href="structt__log.html#ae973c89e7a33bbef3306186e70ea1e95">accesslog</a>;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structt__log.html#a41cf6fa30fc42623fb3eab3fb41e3f67">   74</a></span>&#160;                <span class="keywordtype">char</span>            *<a class="code" href="structt__log.html#a41cf6fa30fc42623fb3eab3fb41e3f67">timestmp</a>;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structt__log.html#af2f435ec93298ebfa988fffa4f4d99f0">   75</a></span>&#160;                time_t          <a class="code" href="structt__log.html#af2f435ec93298ebfa988fffa4f4d99f0">timeval</a>;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structt__log.html#ac07514e66fd21d577e21fafffcd51e06">   76</a></span>&#160;                mode_t          *<span class="keyword">set</span>;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structt__log.html#acfec0e07dc912f8e9af8fe3c65a5d0d2">   77</a></span>&#160;                mode_t          <a class="code" href="structt__log.html#acfec0e07dc912f8e9af8fe3c65a5d0d2">mode</a>;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structt__log.html#aa51ad376bd56d3f4bc9b5d4d7a979eeb">   78</a></span>&#160;                mode_t          <a class="code" href="structt__log.html#aa51ad376bd56d3f4bc9b5d4d7a979eeb">dir_mode</a>;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        }                               <a class="code" href="structt__log.html">t_log</a>;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">   82</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct </span>addrinfo <a class="code" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a>;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structt__serv.html">   85</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct                  </span>s_serv {</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structt__serv.html#a7659da4b3744e6ddd8f77f37d2138914">   86</a></span>&#160;                <span class="keywordtype">int</span>                     <a class="code" href="structt__serv.html#a7659da4b3744e6ddd8f77f37d2138914">nfds</a>;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structt__serv.html#a46bee037324e9deec26f15fbc4f6d8e5">   87</a></span>&#160;                <span class="keywordtype">int</span>                     <a class="code" href="structt__serv.html#a46bee037324e9deec26f15fbc4f6d8e5">epollfd</a>;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structt__serv.html#a5c3a4553e608f252da1d211b20b459ec">   88</a></span>&#160;                <span class="keywordtype">int</span>                     <a class="code" href="structt__serv.html#a5c3a4553e608f252da1d211b20b459ec">conn_sock</a>;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structt__serv.html#ac9f24d41d8822f2c1b7df4362e18cad9">   89</a></span>&#160;                <span class="keywordtype">int</span>                     <a class="code" href="structt__serv.html#ac9f24d41d8822f2c1b7df4362e18cad9">listen_sock</a>;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structt__serv.html#a85e55e3fe1bfb973e7f5d15a0a436b18">   90</a></span>&#160;                ssize_t                 <a class="code" href="structt__serv.html#a85e55e3fe1bfb973e7f5d15a0a436b18">nread</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structt__serv.html#a005714cf56aaffce970916774cf2b04a">   91</a></span>&#160;                <span class="keywordtype">char</span>                    buf[<a class="code" href="server_8h.html#a6821bafc3c88dfb2e433a095df9940c6">BUF_SIZE</a>];</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structt__serv.html#a0dd3a9c2648da4fba88a38276803037c">   92</a></span>&#160;                <span class="keywordtype">char</span>                    host[NI_MAXHOST];</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structt__serv.html#aee509c3823199bf9f0ad285a718260bd">   93</a></span>&#160;                <span class="keywordtype">char</span>                    service[NI_MAXSERV];</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structt__serv.html#a018d976aed4b9930a794da25a758a024">   94</a></span>&#160;                <a class="code" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a>                  *<a class="code" href="structt__serv.html#a018d976aed4b9930a794da25a758a024">rp</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structt__serv.html#ae8783e38ef0c183366703267ca7b3298">   95</a></span>&#160;                <a class="code" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a>                  *<a class="code" href="structt__serv.html#ae8783e38ef0c183366703267ca7b3298">res</a>;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structt__serv.html#a71d55fd97c2ffc84c72b17820396cdff">   96</a></span>&#160;                <a class="code" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a>                  <a class="code" href="structt__serv.html#a71d55fd97c2ffc84c72b17820396cdff">hints</a>;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structt__serv.html#aa95442079d9e7a2294ad8df1335ae0f4">   97</a></span>&#160;                <span class="keyword">struct </span>epoll_event      ev;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structt__serv.html#a3c6f3b16eed7e8c35eb4d2831583ea15">   98</a></span>&#160;                <span class="keyword">struct </span>epoll_event      events[<a class="code" href="server_8h.html#ae42954bb8545d24e3e9dcde5920c9a0b">MAX_EVENTS</a>];</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        }                               <a class="code" href="structt__serv.html">t_serv</a>;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="server_8h.html#a41f9c5fb8b08eb5dc3edce4dcb37fee7">  102</a></span>&#160;<span class="preprocessor">        #define true    1</span></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="server_8h.html#a65e9886d74aaee76545e83dd09011727">  103</a></span>&#160;<span class="preprocessor">        #define false   0</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structt__user.html">  105</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct                  </span>s_user {</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structt__user.html#a29a8abb5e21ec4d86ce72c756b6b43e4">  106</a></span>&#160;                <span class="keywordtype">int</span>                     <a class="code" href="structt__user.html#a29a8abb5e21ec4d86ce72c756b6b43e4">clifd</a>;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structt__user.html#a07771e89e3c3c41d675b9529c438fb2e">  107</a></span>&#160;                <span class="keywordtype">int</span>                     <a class="code" href="structt__user.html#a07771e89e3c3c41d675b9529c438fb2e">mode</a>;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structt__user.html#ae26ce5e41546b895d8d85f3cde41c096">  108</a></span>&#160;                <span class="keywordtype">char</span>                    *<a class="code" href="structt__user.html#ae26ce5e41546b895d8d85f3cde41c096">nick</a>;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structt__user.html#ab3e2136d7c7ee26a1403bb5fc7f48d8e">  109</a></span>&#160;                <span class="keywordtype">char</span>                    *<a class="code" href="structt__user.html#ab3e2136d7c7ee26a1403bb5fc7f48d8e">rname</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structt__user.html#af93924b30e62f9eec7fbf113f8051173">  110</a></span>&#160;                <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>            <a class="code" href="structt__user.html#af93924b30e62f9eec7fbf113f8051173">isco</a>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        }                               <a class="code" href="structt__user.html">t_user</a>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structt__userlist.html">  114</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct                  </span>s_userlist {</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structt__userlist.html#a946f5b9e4c5110372550989a019ce21b">  115</a></span>&#160;                <a class="code" href="structt__user.html">t_user</a>                  *<a class="code" href="structt__userlist.html#a946f5b9e4c5110372550989a019ce21b">user</a>;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structt__userlist.html#a0d21cffe5acee2678380dd0ebf7ae85c">  116</a></span>&#160;                <span class="keyword">struct </span>s_userlist       *<a class="code" href="structt__userlist.html#a0d21cffe5acee2678380dd0ebf7ae85c">prev</a>;</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structt__userlist.html#a3b987a9a352379a703da737198b42d4a">  117</a></span>&#160;                <span class="keyword">struct </span>s_userlist       *<a class="code" href="structt__userlist.html#a3b987a9a352379a703da737198b42d4a">next</a>;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        }                               <a class="code" href="structt__userlist.html">t_userlist</a>;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structt__channel.html">  121</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">struct                  </span>s_channel {</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structt__channel.html#a8d701df6c8b899848e450905cf1e70dd">  122</a></span>&#160;                <span class="keywordtype">char</span>                    *<a class="code" href="structt__channel.html#a8d701df6c8b899848e450905cf1e70dd">channame</a>;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">  123</a></span>&#160;                <a class="code" href="structt__userlist.html">t_userlist</a>              *<a class="code" href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">users</a>;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structt__channel.html#abfb3b9e078736d58b484451cab52671c">  124</a></span>&#160;                <span class="keyword">struct </span>s_channel        *<a class="code" href="structt__channel.html#abfb3b9e078736d58b484451cab52671c">prev</a>;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structt__channel.html#ad735fa416150cd0bbd1ce42e82a1c1fa">  125</a></span>&#160;                <span class="keyword">struct </span>s_channel        *<a class="code" href="structt__channel.html#ad735fa416150cd0bbd1ce42e82a1c1fa">next</a>;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        }                               <a class="code" href="structt__channel.html">t_channel</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keywordtype">int</span>     <a class="code" href="server_8h.html#a1f61d16ccfab82b21ca40ce23feb7c02">set_sockfd</a>(<a class="code" href="structt__serv.html">t_serv</a> *all);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keywordtype">int</span>     <a class="code" href="server_8h.html#a5cb15d408ef32c09c2485937503438ed">set_epoll</a>(<a class="code" href="structt__serv.html">t_serv</a> *all);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordtype">int</span>     <a class="code" href="server_8h.html#a3802a71fa34e93cb1d85f919914f5abf">set_iface</a>(<a class="code" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a> *hints, <a class="code" href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a> **res, <span class="keyword">const</span> <span class="keywordtype">char</span> *port);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <span class="keywordtype">int</span>     <a class="code" href="server_8h.html#aa9bc3ff8e7f409540f85b3cc97636500">set_clifd</a>(<span class="keywordtype">int</span> clisock, <span class="keywordtype">int</span> epollfd, <span class="keyword">struct</span> epoll_event *ev);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordtype">int</span>     <a class="code" href="server_8h.html#ac5949d17278df5e1ada98dca25ccd961">get_methods</a>(<span class="keywordtype">char</span> *req, <span class="keywordtype">int</span> clifd);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <span class="keywordtype">int</span>     <a class="code" href="server_8h.html#a7e2903ce4461ed71cf294dd675bd4c49">logthisevent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> etype, <a class="code" href="structt__serv.html">t_serv</a> *all);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keywordtype">void</span>    <a class="code" href="server_8h.html#a45c9c768c2486ac046ac242d3c46aadb">print_users</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *list);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        <span class="keywordtype">void</span>    <a class="code" href="server_8h.html#a805324e4c542079956ff84a290274d23">print_users_in_chans</a>(<a class="code" href="structt__channel.html">t_channel</a> *chanlist, <span class="keywordtype">int</span> index);</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <a class="code" href="structt__userlist.html">t_userlist</a>      *<a class="code" href="server_8h.html#a1cf3d818bc2607cb0f69c043dba3c039">get_new_userlist</a>(<a class="code" href="structt__user.html">t_user</a> *usr);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keywordtype">void</span>            <a class="code" href="server_8h.html#a45c9c768c2486ac046ac242d3c46aadb">print_users</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *liste);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordtype">void</span>            <a class="code" href="server_8h.html#af00c364b53de2b369d1ba7339975afa0">free_userlist</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *list);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keywordtype">void</span>            *<a class="code" href="server_8h.html#a4b707a3b8d0f77075ea567c4718c4c06">remove_user</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *list, <span class="keywordtype">int</span> clifd);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <a class="code" href="structt__user.html">t_user</a>          *<a class="code" href="server_8h.html#ace045c243817cc0c9885bdf3b41263c0">get_new_user</a>(<span class="keywordtype">int</span> clifd, <a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> usercmd);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordtype">void</span>            *<a class="code" href="server_8h.html#a2b16f778b01689e31ef5530b66d41390">insert_back_user</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *head, <a class="code" href="structt__userlist.html">t_userlist</a> *nuser);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <a class="code" href="structt__channel.html">t_channel</a>       *<a class="code" href="server_8h.html#a1c3fc93845d179d198452e745f3460b1">init_default_channel</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="keywordtype">void</span>            <a class="code" href="server_8h.html#ad9ed9b81c1a3ec9299e894c5986c42e6">free_channel_list</a>(<a class="code" href="structt__channel.html">t_channel</a> *list);</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <a class="code" href="structt__channel.html">t_channel</a>       *<a class="code" href="server_8h.html#a46341819e18479370867b55731a6c6dd">get_new_chan_list</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *userlist, <span class="keywordtype">char</span> *);</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordtype">void</span>            <a class="code" href="server_8h.html#ade7cba4847a297abf811114846d62cac">remove_channel</a>(<a class="code" href="structt__channel.html">t_channel</a> *list, <span class="keywordtype">char</span> *channame);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordtype">void</span>            *<a class="code" href="server_8h.html#a0f3f52d09747a128a3107f465a4f3421">insert_back_channel</a>(<a class="code" href="structt__channel.html">t_channel</a> *head, <a class="code" href="structt__channel.html">t_channel</a> *chan);</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <a class="code" href="structt__user.html">t_user</a>          *<a class="code" href="server_8h.html#a0195cd48a4c52a9624a811825cef8afb">find_user_by_fd</a>(<a class="code" href="structt__userlist.html">t_userlist</a> *list, <span class="keywordtype">int</span> clifd);</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <a class="code" href="structt__channel.html">t_channel</a>       *<a class="code" href="server_8h.html#ae86be37e5d76544c9d6feb9d7b9b6b02">get_chan_by_name</a>(<a class="code" href="structt__channel.html">t_channel</a> *list, <span class="keywordtype">char</span> *channame);</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>    <a class="code" href="server_8h.html#af9f57eda934151d707615e8f315e7897">is_user_in_chan</a>(<span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chans);</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <a class="code" href="structt__user.html">t_user</a>          *<a class="code" href="server_8h.html#a7ebf668b9cfc31f3b29114dfed75c0ad">find_user_by_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="structt__userlist.html">t_userlist</a> *usrs);</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>    <a class="code" href="server_8h.html#a5c9b2cd4523b5cc43326163d534225d9">get_size</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args);</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        <span class="keywordtype">void</span>    *<a class="code" href="server_8h.html#a7bc519f56f91233055c4bee31d1c33bb">join</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chanlist);</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keywordtype">void</span>    *<a class="code" href="server_8h.html#a8193bc1dd3461f512b07b2a8c686ec9c">nick</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chanlist);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        <span class="keywordtype">void</span>    *<a class="code" href="server_8h.html#ad2f830dde1e4ea8ef5e013a15cff72be">ping</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chanlist);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="keywordtype">void</span>    *<a class="code" href="server_8h.html#ac36f6273cc3b6d793ac67fd4ab88fbc4">user</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chanlist);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <span class="keywordtype">void</span>    *<a class="code" href="server_8h.html#a8a966c4254db49b02978407670cc9fa9">quit</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chanlist);</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordtype">void</span>    *<a class="code" href="server_8h.html#aa5da766def7467ba7a3899fddbfcd278">privmsg</a>(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chans);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="server_8h.html#abc9c1e6f561b7500f7ecb3813d272d20">  175</a></span>&#160;        <span class="keyword">typedef</span> <span class="keywordtype">void</span> *(*cmds)(<a class="code" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, <span class="keywordtype">int</span> clifd, <a class="code" href="structt__channel.html">t_channel</a> *chanlist);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="server_8h.html#ae19e01ff7678899828036520edec313c">G_PROTOS</a>[<a class="code" href="server_8h.html#a9880cfe1f4eb3140da2095fd081282f5">REF_NB</a>];</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keyword">extern</span> <span class="keyword">const</span> <a class="code" href="server_8h.html#abc9c1e6f561b7500f7ecb3813d272d20">cmds</a> <a class="code" href="server_8h.html#a7bb29231b69e3767e187ffe5d5717b28">G_CMDS</a>[<a class="code" href="server_8h.html#a9880cfe1f4eb3140da2095fd081282f5">REF_NB</a>];</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <span class="keywordtype">void</span>            <a class="code" href="server_8h.html#a4f31a6fd48ee5d4579ae4aaaa3cae285">sig_handler</a>(<span class="keywordtype">int</span> signo);</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !SERVER_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="structt__channel_html_abfb3b9e078736d58b484451cab52671c"><div class="ttname"><a href="structt__channel.html#abfb3b9e078736d58b484451cab52671c">t_channel::prev</a></div><div class="ttdeci">struct s_channel * prev</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00124">server.h:124</a></div></div>
<div class="ttc" id="structt__log_html_ae973c89e7a33bbef3306186e70ea1e95"><div class="ttname"><a href="structt__log.html#ae973c89e7a33bbef3306186e70ea1e95">t_log::accesslog</a></div><div class="ttdeci">FILE * accesslog</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00073">server.h:73</a></div></div>
<div class="ttc" id="server_8h_html_a8193bc1dd3461f512b07b2a8c686ec9c"><div class="ttname"><a href="server_8h.html#a8193bc1dd3461f512b07b2a8c686ec9c">nick</a></div><div class="ttdeci">void * nick(cmdargs args, int clifd, t_channel *chanlist)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds0_8c_source.html#l00046">rfc_cmds0.c:46</a></div></div>
<div class="ttc" id="server_8h_html_a8a966c4254db49b02978407670cc9fa9"><div class="ttname"><a href="server_8h.html#a8a966c4254db49b02978407670cc9fa9">quit</a></div><div class="ttdeci">void * quit(cmdargs args, int clifd, t_channel *chanlist)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds0_8c_source.html#l00101">rfc_cmds0.c:101</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa76bdc8adfd6c6463ab269ff4c06be9b4"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa76bdc8adfd6c6463ab269ff4c06be9b4">QUIT</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="server_8h_html_adcc3dd03f6be8a8011d83677b20ea84faa4c3e403340be8ad2c8b1a70534adb12"><div class="ttname"><a href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84faa4c3e403340be8ad2c8b1a70534adb12">NOTICES</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00064">server.h:64</a></div></div>
<div class="ttc" id="structt__userlist_html"><div class="ttname"><a href="structt__userlist.html">t_userlist</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00114">server.h:114</a></div></div>
<div class="ttc" id="server_8h_html_a7ebf668b9cfc31f3b29114dfed75c0ad"><div class="ttname"><a href="server_8h.html#a7ebf668b9cfc31f3b29114dfed75c0ad">find_user_by_name</a></div><div class="ttdeci">t_user * find_user_by_name(const char *name, t_userlist *usrs)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00072">lists_helpers.c:72</a></div></div>
<div class="ttc" id="server_8h_html_af9f57eda934151d707615e8f315e7897"><div class="ttname"><a href="server_8h.html#af9f57eda934151d707615e8f315e7897">is_user_in_chan</a></div><div class="ttdeci">unsigned int is_user_in_chan(int clifd, t_channel *chans)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00057">lists_helpers.c:57</a></div></div>
<div class="ttc" id="server_8h_html_aa62dc6ab378205892df275c6df156dba"><div class="ttname"><a href="server_8h.html#aa62dc6ab378205892df275c6df156dba">adrinf</a></div><div class="ttdeci">struct addrinfo adrinf</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00082">server.h:82</a></div></div>
<div class="ttc" id="server_8h_html_ac36f6273cc3b6d793ac67fd4ab88fbc4"><div class="ttname"><a href="server_8h.html#ac36f6273cc3b6d793ac67fd4ab88fbc4">user</a></div><div class="ttdeci">void * user(cmdargs args, int clifd, t_channel *chanlist)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds0_8c_source.html#l00081">rfc_cmds0.c:81</a></div></div>
<div class="ttc" id="structt__serv_html_a5c3a4553e608f252da1d211b20b459ec"><div class="ttname"><a href="structt__serv.html#a5c3a4553e608f252da1d211b20b459ec">t_serv::conn_sock</a></div><div class="ttdeci">int conn_sock</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00088">server.h:88</a></div></div>
<div class="ttc" id="server_8h_html_a9880cfe1f4eb3140da2095fd081282f5"><div class="ttname"><a href="server_8h.html#a9880cfe1f4eb3140da2095fd081282f5">REF_NB</a></div><div class="ttdeci">#define REF_NB</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00022">server.h:22</a></div></div>
<div class="ttc" id="server_8h_html_a4b707a3b8d0f77075ea567c4718c4c06"><div class="ttname"><a href="server_8h.html#a4b707a3b8d0f77075ea567c4718c4c06">remove_user</a></div><div class="ttdeci">void * remove_user(t_userlist *list, int clifd)</div><div class="ttdef"><b>Definition:</b> <a href="user__list_8c_source.html#l00073">user_list.c:73</a></div></div>
<div class="ttc" id="structt__user_html_ab3e2136d7c7ee26a1403bb5fc7f48d8e"><div class="ttname"><a href="structt__user.html#ab3e2136d7c7ee26a1403bb5fc7f48d8e">t_user::rname</a></div><div class="ttdeci">char * rname</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00109">server.h:109</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581faa96582524abaa2ba9ee6ba926dee5262"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581faa96582524abaa2ba9ee6ba926dee5262">NAMES</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00055">server.h:55</a></div></div>
<div class="ttc" id="structt__channel_html_a8097607fae5d78c98125bac6caaefe18"><div class="ttname"><a href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">t_channel::users</a></div><div class="ttdeci">t_userlist * users</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00123">server.h:123</a></div></div>
<div class="ttc" id="server_8h_html_a3802a71fa34e93cb1d85f919914f5abf"><div class="ttname"><a href="server_8h.html#a3802a71fa34e93cb1d85f919914f5abf">set_iface</a></div><div class="ttdeci">int set_iface(adrinf *hints, adrinf **res, const char *port)</div><div class="ttdef"><b>Definition:</b> <a href="server__init_8c_source.html#l00034">server_init.c:34</a></div></div>
<div class="ttc" id="server_8h_html_a1f61d16ccfab82b21ca40ce23feb7c02"><div class="ttname"><a href="server_8h.html#a1f61d16ccfab82b21ca40ce23feb7c02">set_sockfd</a></div><div class="ttdeci">int set_sockfd(t_serv *all)</div><div class="ttdef"><b>Definition:</b> <a href="server__init_8c_source.html#l00100">server_init.c:100</a></div></div>
<div class="ttc" id="server_8h_html_ac5949d17278df5e1ada98dca25ccd961"><div class="ttname"><a href="server_8h.html#ac5949d17278df5e1ada98dca25ccd961">get_methods</a></div><div class="ttdeci">int get_methods(char *req, int clifd)</div><div class="ttdef"><b>Definition:</b> <a href="commands__parsing_8c_source.html#l00073">commands_parsing.c:73</a></div></div>
<div class="ttc" id="server_8h_html_ad9ed9b81c1a3ec9299e894c5986c42e6"><div class="ttname"><a href="server_8h.html#ad9ed9b81c1a3ec9299e894c5986c42e6">free_channel_list</a></div><div class="ttdeci">void free_channel_list(t_channel *list)</div><div class="ttdef"><b>Definition:</b> <a href="channel__list_8c_source.html#l00074">channel_list.c:74</a></div></div>
<div class="ttc" id="server_8h_html_af00c364b53de2b369d1ba7339975afa0"><div class="ttname"><a href="server_8h.html#af00c364b53de2b369d1ba7339975afa0">free_userlist</a></div><div class="ttdeci">void free_userlist(t_userlist *list)</div><div class="ttdef"><b>Definition:</b> <a href="user__list_8c_source.html#l00098">user_list.c:98</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581faed8762ff982b982ce3d67f81ab34f1d4"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581faed8762ff982b982ce3d67f81ab34f1d4">NOTICE</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00056">server.h:56</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa21043ddfa5289b4cf14cd4e3f5a89b62"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa21043ddfa5289b4cf14cd4e3f5a89b62">QUERY</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00056">server.h:56</a></div></div>
<div class="ttc" id="server_8h_html_a5cb15d408ef32c09c2485937503438ed"><div class="ttname"><a href="server_8h.html#a5cb15d408ef32c09c2485937503438ed">set_epoll</a></div><div class="ttdeci">int set_epoll(t_serv *all)</div><div class="ttdef"><b>Definition:</b> <a href="server__init_8c_source.html#l00059">server_init.c:59</a></div></div>
<div class="ttc" id="structt__log_html"><div class="ttname"><a href="structt__log.html">t_log</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00071">server.h:71</a></div></div>
<div class="ttc" id="server_8h_html_a2b16f778b01689e31ef5530b66d41390"><div class="ttname"><a href="server_8h.html#a2b16f778b01689e31ef5530b66d41390">insert_back_user</a></div><div class="ttdeci">void * insert_back_user(t_userlist *head, t_userlist *nuser)</div><div class="ttdef"><b>Definition:</b> <a href="user__list_8c_source.html#l00052">user_list.c:52</a></div></div>
<div class="ttc" id="structt__serv_html_ac9f24d41d8822f2c1b7df4362e18cad9"><div class="ttname"><a href="structt__serv.html#ac9f24d41d8822f2c1b7df4362e18cad9">t_serv::listen_sock</a></div><div class="ttdeci">int listen_sock</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00089">server.h:89</a></div></div>
<div class="ttc" id="structt__userlist_html_a946f5b9e4c5110372550989a019ce21b"><div class="ttname"><a href="structt__userlist.html#a946f5b9e4c5110372550989a019ce21b">t_userlist::user</a></div><div class="ttdeci">t_user * user</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00115">server.h:115</a></div></div>
<div class="ttc" id="structt__serv_html_a46bee037324e9deec26f15fbc4f6d8e5"><div class="ttname"><a href="structt__serv.html#a46bee037324e9deec26f15fbc4f6d8e5">t_serv::epollfd</a></div><div class="ttdeci">int epollfd</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00087">server.h:87</a></div></div>
<div class="ttc" id="server_8h_html_a7bb29231b69e3767e187ffe5d5717b28"><div class="ttname"><a href="server_8h.html#a7bb29231b69e3767e187ffe5d5717b28">G_CMDS</a></div><div class="ttdeci">const cmds G_CMDS[REF_NB]</div><div class="ttdef"><b>Definition:</b> <a href="server__decls_8c_source.html#l00018">server_decls.c:18</a></div></div>
<div class="ttc" id="server_8h_html_aa5da766def7467ba7a3899fddbfcd278"><div class="ttname"><a href="server_8h.html#aa5da766def7467ba7a3899fddbfcd278">privmsg</a></div><div class="ttdeci">void * privmsg(cmdargs args, int clifd, t_channel *chans)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds1_8c_source.html#l00054">rfc_cmds1.c:54</a></div></div>
<div class="ttc" id="structt__channel_html_ad735fa416150cd0bbd1ce42e82a1c1fa"><div class="ttname"><a href="structt__channel.html#ad735fa416150cd0bbd1ce42e82a1c1fa">t_channel::next</a></div><div class="ttdeci">struct s_channel * next</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00125">server.h:125</a></div></div>
<div class="ttc" id="structt__user_html"><div class="ttname"><a href="structt__user.html">t_user</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00105">server.h:105</a></div></div>
<div class="ttc" id="server_8h_html_a1cf3d818bc2607cb0f69c043dba3c039"><div class="ttname"><a href="server_8h.html#a1cf3d818bc2607cb0f69c043dba3c039">get_new_userlist</a></div><div class="ttdeci">t_userlist * get_new_userlist(t_user *usr)</div><div class="ttdef"><b>Definition:</b> <a href="user__list_8c_source.html#l00034">user_list.c:34</a></div></div>
<div class="ttc" id="server_8h_html_ad2f830dde1e4ea8ef5e013a15cff72be"><div class="ttname"><a href="server_8h.html#ad2f830dde1e4ea8ef5e013a15cff72be">ping</a></div><div class="ttdeci">void * ping(cmdargs args, int clifd, t_channel *chanlist)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds0_8c_source.html#l00065">rfc_cmds0.c:65</a></div></div>
<div class="ttc" id="structt__log_html_a41cf6fa30fc42623fb3eab3fb41e3f67"><div class="ttname"><a href="structt__log.html#a41cf6fa30fc42623fb3eab3fb41e3f67">t_log::timestmp</a></div><div class="ttdeci">char * timestmp</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00074">server.h:74</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa552dbfc018bbff8b37c76efea76ca893"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa552dbfc018bbff8b37c76efea76ca893">KICK</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00057">server.h:57</a></div></div>
<div class="ttc" id="structt__serv_html"><div class="ttname"><a href="structt__serv.html">t_serv</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00085">server.h:85</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa7bdf7243edf3c972e0fbc08bd0d4079d"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa7bdf7243edf3c972e0fbc08bd0d4079d">MSGAB</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00055">server.h:55</a></div></div>
<div class="ttc" id="server_8h_html_a7bc519f56f91233055c4bee31d1c33bb"><div class="ttname"><a href="server_8h.html#a7bc519f56f91233055c4bee31d1c33bb">join</a></div><div class="ttdeci">void * join(cmdargs args, int clifd, t_channel *chanlist)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds0_8c_source.html#l00019">rfc_cmds0.c:19</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581faf88e46564f67a88a18b9ba3af5792b02"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581faf88e46564f67a88a18b9ba3af5792b02">ME</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00056">server.h:56</a></div></div>
<div class="ttc" id="server_8h_html_a0195cd48a4c52a9624a811825cef8afb"><div class="ttname"><a href="server_8h.html#a0195cd48a4c52a9624a811825cef8afb">find_user_by_fd</a></div><div class="ttdeci">t_user * find_user_by_fd(t_userlist *list, int clifd)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00026">lists_helpers.c:26</a></div></div>
<div class="ttc" id="structt__user_html_a07771e89e3c3c41d675b9529c438fb2e"><div class="ttname"><a href="structt__user.html#a07771e89e3c3c41d675b9529c438fb2e">t_user::mode</a></div><div class="ttdeci">int mode</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00107">server.h:107</a></div></div>
<div class="ttc" id="server_8h_html_ae86be37e5d76544c9d6feb9d7b9b6b02"><div class="ttname"><a href="server_8h.html#ae86be37e5d76544c9d6feb9d7b9b6b02">get_chan_by_name</a></div><div class="ttdeci">t_channel * get_chan_by_name(t_channel *list, char *channame)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00044">lists_helpers.c:44</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa173f98c603042f6241b70157d56e385f"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa173f98c603042f6241b70157d56e385f">PART</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="server_8h_html_a7e2903ce4461ed71cf294dd675bd4c49"><div class="ttname"><a href="server_8h.html#a7e2903ce4461ed71cf294dd675bd4c49">logthisevent</a></div><div class="ttdeci">int logthisevent(const char etype, t_serv *all)</div><div class="ttdef"><b>Definition:</b> <a href="logs__helpers_8c_source.html#l00059">logs_helpers.c:59</a></div></div>
<div class="ttc" id="structt__channel_html"><div class="ttname"><a href="structt__channel.html">t_channel</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00121">server.h:121</a></div></div>
<div class="ttc" id="server_8h_html_acfbe918d8821ff3d1d8dc2c90bb8f6a2"><div class="ttname"><a href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a></div><div class="ttdeci">char ** cmdargs</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00044">server.h:44</a></div></div>
<div class="ttc" id="server_8h_html_a4f31a6fd48ee5d4579ae4aaaa3cae285"><div class="ttname"><a href="server_8h.html#a4f31a6fd48ee5d4579ae4aaaa3cae285">sig_handler</a></div><div class="ttdeci">void sig_handler(int signo)</div><div class="ttdef"><b>Definition:</b> <a href="sig__handler_8c_source.html#l00015">sig_handler.c:15</a></div></div>
<div class="ttc" id="server_8h_html_ae19e01ff7678899828036520edec313c"><div class="ttname"><a href="server_8h.html#ae19e01ff7678899828036520edec313c">G_PROTOS</a></div><div class="ttdeci">const char * G_PROTOS[REF_NB]</div><div class="ttdef"><b>Definition:</b> <a href="server__decls_8c_source.html#l00012">server_decls.c:12</a></div></div>
<div class="ttc" id="server_8h_html_aa9bc3ff8e7f409540f85b3cc97636500"><div class="ttname"><a href="server_8h.html#aa9bc3ff8e7f409540f85b3cc97636500">set_clifd</a></div><div class="ttdeci">int set_clifd(int clisock, int epollfd, struct epoll_event *ev)</div><div class="ttdef"><b>Definition:</b> <a href="server__init_8c_source.html#l00018">server_init.c:18</a></div></div>
<div class="ttc" id="server_8h_html_adcc3dd03f6be8a8011d83677b20ea84fa3dd2c95c6f5060be15bf596d2a012034"><div class="ttname"><a href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84fa3dd2c95c6f5060be15bf596d2a012034">ERRORS</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00063">server.h:63</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa4b92970b3bad368ef6b6e73b315a4755"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa4b92970b3bad368ef6b6e73b315a4755">MSGABC</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00055">server.h:55</a></div></div>
<div class="ttc" id="structt__log_html_acfec0e07dc912f8e9af8fe3c65a5d0d2"><div class="ttname"><a href="structt__log.html#acfec0e07dc912f8e9af8fe3c65a5d0d2">t_log::mode</a></div><div class="ttdeci">mode_t mode</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00077">server.h:77</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa2009451f58075e636458d7149da4488a"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa2009451f58075e636458d7149da4488a">USERS</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00055">server.h:55</a></div></div>
<div class="ttc" id="structt__log_html_af2f435ec93298ebfa988fffa4f4d99f0"><div class="ttname"><a href="structt__log.html#af2f435ec93298ebfa988fffa4f4d99f0">t_log::timeval</a></div><div class="ttdeci">time_t timeval</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00075">server.h:75</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa3a95ef902bc659901cceef98e0bc8041"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa3a95ef902bc659901cceef98e0bc8041">PING</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="server_8h_html_ae42954bb8545d24e3e9dcde5920c9a0b"><div class="ttname"><a href="server_8h.html#ae42954bb8545d24e3e9dcde5920c9a0b">MAX_EVENTS</a></div><div class="ttdeci">#define MAX_EVENTS</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00027">server.h:27</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa5946189c2ff16a177f8d6266b96ea30e"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa5946189c2ff16a177f8d6266b96ea30e">ACCEPTF</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00055">server.h:55</a></div></div>
<div class="ttc" id="server_8h_html_a46341819e18479370867b55731a6c6dd"><div class="ttname"><a href="server_8h.html#a46341819e18479370867b55731a6c6dd">get_new_chan_list</a></div><div class="ttdeci">t_channel * get_new_chan_list(t_userlist *userlist, char *)</div><div class="ttdef"><b>Definition:</b> <a href="channel__list_8c_source.html#l00015">channel_list.c:15</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fae2d30a195cee6b2961cc2c23ea4b520b"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fae2d30a195cee6b2961cc2c23ea4b520b">USER</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="server_8h_html_a5c9b2cd4523b5cc43326163d534225d9"><div class="ttname"><a href="server_8h.html#a5c9b2cd4523b5cc43326163d534225d9">get_size</a></div><div class="ttdeci">unsigned int get_size(cmdargs args)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00011">lists_helpers.c:11</a></div></div>
<div class="ttc" id="server_8h_html_a1c3fc93845d179d198452e745f3460b1"><div class="ttname"><a href="server_8h.html#a1c3fc93845d179d198452e745f3460b1">init_default_channel</a></div><div class="ttdeci">t_channel * init_default_channel(void)</div><div class="ttdef"><b>Definition:</b> <a href="channel__list_8c_source.html#l00089">channel_list.c:89</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa3e724a44d5e55b043a1c6ba83aa08bea"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa3e724a44d5e55b043a1c6ba83aa08bea">NICK</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="structt__channel_html_a8d701df6c8b899848e450905cf1e70dd"><div class="ttname"><a href="structt__channel.html#a8d701df6c8b899848e450905cf1e70dd">t_channel::channame</a></div><div class="ttdeci">char * channame</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00122">server.h:122</a></div></div>
<div class="ttc" id="structt__serv_html_a018d976aed4b9930a794da25a758a024"><div class="ttname"><a href="structt__serv.html#a018d976aed4b9930a794da25a758a024">t_serv::rp</a></div><div class="ttdeci">adrinf * rp</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00094">server.h:94</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581facb351e08d637347c1132ba8a73f0c812"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581facb351e08d637347c1132ba8a73f0c812">DNS</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00057">server.h:57</a></div></div>
<div class="ttc" id="server_8h_html_a0f3f52d09747a128a3107f465a4f3421"><div class="ttname"><a href="server_8h.html#a0f3f52d09747a128a3107f465a4f3421">insert_back_channel</a></div><div class="ttdeci">void * insert_back_channel(t_channel *head, t_channel *chan)</div><div class="ttdef"><b>Definition:</b> <a href="channel__list_8c_source.html#l00033">channel_list.c:33</a></div></div>
<div class="ttc" id="server_8h_html_adcc3dd03f6be8a8011d83677b20ea84f"><div class="ttname"><a href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84f">LPATHS</a></div><div class="ttdeci">LPATHS</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00061">server.h:61</a></div></div>
<div class="ttc" id="structt__userlist_html_a0d21cffe5acee2678380dd0ebf7ae85c"><div class="ttname"><a href="structt__userlist.html#a0d21cffe5acee2678380dd0ebf7ae85c">t_userlist::prev</a></div><div class="ttdeci">struct s_userlist * prev</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00116">server.h:116</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa67c96b24b23bcb408bae7626730a04b7"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa67c96b24b23bcb408bae7626730a04b7">SERVER</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="structt__serv_html_a85e55e3fe1bfb973e7f5d15a0a436b18"><div class="ttname"><a href="structt__serv.html#a85e55e3fe1bfb973e7f5d15a0a436b18">t_serv::nread</a></div><div class="ttdeci">ssize_t nread</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00090">server.h:90</a></div></div>
<div class="ttc" id="server_8h_html_ace045c243817cc0c9885bdf3b41263c0"><div class="ttname"><a href="server_8h.html#ace045c243817cc0c9885bdf3b41263c0">get_new_user</a></div><div class="ttdeci">t_user * get_new_user(int clifd, cmdargs usercmd)</div><div class="ttdef"><b>Definition:</b> <a href="user__list_8c_source.html#l00016">user_list.c:16</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa610966c21da939ce3972c0498c6485bb"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa610966c21da939ce3972c0498c6485bb">WHOWAS</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00056">server.h:56</a></div></div>
<div class="ttc" id="server_8h_html_a45c9c768c2486ac046ac242d3c46aadb"><div class="ttname"><a href="server_8h.html#a45c9c768c2486ac046ac242d3c46aadb">print_users</a></div><div class="ttdeci">void print_users(t_userlist *list)</div><div class="ttdef"><b>Definition:</b> <a href="logs__helpers_8c_source.html#l00030">logs_helpers.c:30</a></div></div>
<div class="ttc" id="structt__user_html_af93924b30e62f9eec7fbf113f8051173"><div class="ttname"><a href="structt__user.html#af93924b30e62f9eec7fbf113f8051173">t_user::isco</a></div><div class="ttdeci">unsigned int isco</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00110">server.h:110</a></div></div>
<div class="ttc" id="server_8h_html_a6821bafc3c88dfb2e433a095df9940c6"><div class="ttname"><a href="server_8h.html#a6821bafc3c88dfb2e433a095df9940c6">BUF_SIZE</a></div><div class="ttdeci">#define BUF_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00024">server.h:24</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581f"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581f">CMDS</a></div><div class="ttdeci">CMDS</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00053">server.h:53</a></div></div>
<div class="ttc" id="structt__log_html_aa51ad376bd56d3f4bc9b5d4d7a979eeb"><div class="ttname"><a href="structt__log.html#aa51ad376bd56d3f4bc9b5d4d7a979eeb">t_log::dir_mode</a></div><div class="ttdeci">mode_t dir_mode</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00078">server.h:78</a></div></div>
<div class="ttc" id="structt__serv_html_a71d55fd97c2ffc84c72b17820396cdff"><div class="ttname"><a href="structt__serv.html#a71d55fd97c2ffc84c72b17820396cdff">t_serv::hints</a></div><div class="ttdeci">adrinf hints</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00096">server.h:96</a></div></div>
<div class="ttc" id="structt__user_html_a29a8abb5e21ec4d86ce72c756b6b43e4"><div class="ttname"><a href="structt__user.html#a29a8abb5e21ec4d86ce72c756b6b43e4">t_user::clifd</a></div><div class="ttdeci">int clifd</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00106">server.h:106</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa42673ce977a9b34eef83a0611f1a2730"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa42673ce977a9b34eef83a0611f1a2730">WHOIS</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00056">server.h:56</a></div></div>
<div class="ttc" id="server_8h_html_a805324e4c542079956ff84a290274d23"><div class="ttname"><a href="server_8h.html#a805324e4c542079956ff84a290274d23">print_users_in_chans</a></div><div class="ttdeci">void print_users_in_chans(t_channel *chanlist, int index)</div><div class="ttdef"><b>Definition:</b> <a href="logs__helpers_8c_source.html#l00017">logs_helpers.c:17</a></div></div>
<div class="ttc" id="server_8h_html_adcc3dd03f6be8a8011d83677b20ea84fa43874547248ac14adee50ee06f31e909"><div class="ttname"><a href="server_8h.html#adcc3dd03f6be8a8011d83677b20ea84fa43874547248ac14adee50ee06f31e909">ACCESS</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00062">server.h:62</a></div></div>
<div class="ttc" id="server_8h_html_abfa4cf7a25ca27eb109ef9065f30581fa4925a399dab94b9b58f6d1b5cd246af7"><div class="ttname"><a href="server_8h.html#abfa4cf7a25ca27eb109ef9065f30581fa4925a399dab94b9b58f6d1b5cd246af7">JOIN</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00054">server.h:54</a></div></div>
<div class="ttc" id="structt__userlist_html_a3b987a9a352379a703da737198b42d4a"><div class="ttname"><a href="structt__userlist.html#a3b987a9a352379a703da737198b42d4a">t_userlist::next</a></div><div class="ttdeci">struct s_userlist * next</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00117">server.h:117</a></div></div>
<div class="ttc" id="server_8h_html_abc9c1e6f561b7500f7ecb3813d272d20"><div class="ttname"><a href="server_8h.html#abc9c1e6f561b7500f7ecb3813d272d20">cmds</a></div><div class="ttdeci">void *(* cmds)(cmdargs args, int clifd, t_channel *chanlist)</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00175">server.h:175</a></div></div>
<div class="ttc" id="structt__log_html_a5a62ab56fc81e156e3faee2900b06b2f"><div class="ttname"><a href="structt__log.html#a5a62ab56fc81e156e3faee2900b06b2f">t_log::errlog</a></div><div class="ttdeci">FILE * errlog</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00072">server.h:72</a></div></div>
<div class="ttc" id="structt__serv_html_ae8783e38ef0c183366703267ca7b3298"><div class="ttname"><a href="structt__serv.html#ae8783e38ef0c183366703267ca7b3298">t_serv::res</a></div><div class="ttdeci">adrinf * res</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00095">server.h:95</a></div></div>
<div class="ttc" id="server_8h_html_ade7cba4847a297abf811114846d62cac"><div class="ttname"><a href="server_8h.html#ade7cba4847a297abf811114846d62cac">remove_channel</a></div><div class="ttdeci">void remove_channel(t_channel *list, char *channame)</div><div class="ttdef"><b>Definition:</b> <a href="channel__list_8c_source.html#l00053">channel_list.c:53</a></div></div>
<div class="ttc" id="structt__serv_html_a7659da4b3744e6ddd8f77f37d2138914"><div class="ttname"><a href="structt__serv.html#a7659da4b3744e6ddd8f77f37d2138914">t_serv::nfds</a></div><div class="ttdeci">int nfds</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00086">server.h:86</a></div></div>
<div class="ttc" id="structt__user_html_ae26ce5e41546b895d8d85f3cde41c096"><div class="ttname"><a href="structt__user.html#ae26ce5e41546b895d8d85f3cde41c096">t_user::nick</a></div><div class="ttdeci">char * nick</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00108">server.h:108</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
